package com.springBoot.repository;

import com.springBoot.entity.ObjectsEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ObjectsRepository {

    public Integer insert(ObjectsEntity objEntity);

    public Integer update(ObjectsEntity objEntity);

    public List<ObjectsEntity> selectByParams(ObjectsEntity objEntity);

    public void delete(ObjectsEntity objEntity);

    public ObjectsEntity selectForUpdate(ObjectsEntity objEntity);
}
